﻿
CREATE PROCEDURE [svc].[GetMaximumReadsWithInstanceName]
(
	@FromDate				datetime,
	@ToDate					datetime 
)
AS
BEGIN

SELECT TOP 1 InstanceName, DatabaseName, Reads FROM dbo.ExecSessionLog 
WHERE LastModifiedDate BETWEEN @FromDate AND @ToDate 
ORDER BY Reads DESC 

END